package cn.fch.gotrip.service;

import cn.fch.gotrip.entity.HotelOrder;
import com.github.pagehelper.PageInfo;

/**
 * @program: gotrip
 * @description:
 * @CreatedBy: fch
 * @create: 2023-01-25 19:51
 **/
public interface HotelOrderService {

    boolean creatHotelOrder(HotelOrder hotelOrder);

    boolean deleteOrder(String id);

    PageInfo<HotelOrder> queryByCreatAndType(Integer type, Integer pageNum, Integer pageSize, Long start, Long end);

    PageInfo<HotelOrder> searchOrderById(String id, Integer pageNum, Integer pageSize);

    HotelOrder queryOrderById(String id);
}
